package com.prj.ufdm.demo.tutorial.despatterns.behavioral.strategy;

public class CalMultiply extends CalculatorAbstract implements Calculator {
	
	@Override  
    public int calculate(String exp) {  
        int arrayInt[] = split(exp,"\\*");  
        return arrayInt[0]*arrayInt[1];  
    }
	
}
